package com.yungam.common.bean.alarm_config;

import lombok.AllArgsConstructor;

public class Type {

    @AllArgsConstructor
    public enum ProtocolType {
        Modbus("modbus"),
        DT("艾美特dt"),
        Siemens("西门子s7"),
        OpcUA("opc-ua"),
        ;
        private final String describe;
    }

    public enum ModbusType {  //modbus类型
        CoilStatus, InputStatus, HoldingRegister, InputRegister
    }

    public enum DataType {  //从设备采集的数据的原始类型(根据这个类型解析)
        int16, uint16, int32, uint32, int64, uint64, float32, float64, bool, string
    }

    public enum ValueType {
        Number, Status
    }

    public enum AlarmType {
        Max, Min, EQ
    }

    public enum AlarmGroup {
        Number, Status, Material, Equip
    }

}
